\usepackage{listings}
\usepackage{array}
\usepackage{float}
\usepackage[colorlinks,linkcolor=black,anchorcolor=black,citecolor=black]{hyperref}

\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{subfigure}
\geometry{a4paper,top=2cm,left=2cm,bottom=2cm,right=2cm,includehead,includefoot}

% section标题左对齐，覆盖ctex的默认值
\ctexset{section/format=\Large\bfseries}

\lstset{
    numbers=left,
    numberstyle= \tiny,
    keywordstyle= \color{ blue!70},
    commentstyle= \color{red!50!green!50!blue!50},
    rulesepcolor= \color{ red!20!green!20!blue!20},
    frame=single,
    escapeinside=``, % 英文分号中可写入中文
    xleftmargin=2em, aboveskip=1em,
    framexleftmargin=2em
}

\date{}
\author{}
